<!DOCTYPE html><!-- 显示Category分类 -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="common/top">
</div>

<div id="Content">
    <div id="Catalog">
        <table class="altrowstable">
            <tr>
                <th>Category</th>
            </tr>
            <tr th:each="list,listStat:${categoryList}">
                <td ><a th:href="'/catalog/viewProducts?categoryId=' + ${categoryList.get(listStat.index).getCategoryId()}" th:text="${categoryList.get(listStat.index).getCategoryId()}"></a></td>
            </tr>
            <tr>
                <td><a class="Button" href="/catalog/newCategoryForm" >新增</a></td>
            </tr>
        </table>
    </div>
</div>

<div th:replace="common/bottom">
</div>
</body>
</html>